//
//  ContentView.swift
//  IOSLearn
//
//  Created by William (Weiyan) Zhao on 2019/6/4.
//  Copyright © 2019 William (Weiyan) Zhao. All rights reserved.
//

import SwiftUI
import MapKit
struct ContentView : View {
    var landmarks:landmarks?
    var body: some View {
        VStack {
            MapView()
                .frame(height:300)
        VStack(alignment: .leading, spacing: nil) {
                Text("Trutle Rock")
                    .font(.title)
            HStack {
                Text("Joshua Tree National Park")
                    .font(.subheadline)
                Text("California")
                    .font(.subheadline)
            }
        }
        .padding()
        }
    }
}

#if DEBUG
struct ContentView_Previews : PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}
#endif
